package com.yunxi.service.localService.sat;

import com.yunxi.core.service.IServicePlus;
import com.yunxi.hubToBiz.pojo.CustomerTestDriveVO;
import com.yunxi.model.sat.SatCustomerClue;
import com.yunxi.model.sat.SatTestDrive;
import com.yunxi.sat.pojo.SatTestDriveCompletelVO;
import com.yunxi.sat.pojo.SatTestDriveDetailVO;
import com.yunxi.sat.pojo.SatTestDriveVO;
import java.util.List;

/**
 * <p>
 * 试乘试驾表 服务类
 * </p>
 *
 * @author caoYong
 * @since 2019-07-31
 */
public interface SatTestDriveService extends IServicePlus<SatTestDrive> {

    Integer checkPlanTestDriveTime(SatTestDriveVO satTestDriveVO);

    SatTestDriveDetailVO getInfoById(String driveId)throws Exception;

    SatTestDriveDetailVO testDriveInfo(String customerNo)throws Exception;

    List<SatTestDriveVO> getLateTestDrive()throws Exception;

    List<SatTestDriveDetailVO> allList(SatTestDriveCompletelVO satTestDriveCompletelVO)throws Exception;

    List<String> getCustomerSales(CustomerTestDriveVO customerTestDriveVO)throws Exception;

    SatTestDriveVO getSalesInfo(String userCode);

    List<SatTestDrive> queryEmptyTestDrive(SatCustomerClue satCustomerClue)throws Exception;
}
